﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace KanbanApi.Models.Auth
{
    public class RouteData
    {

        public class Routes
        {
            public List<RouteItem> data { get; set; }
        }

        public class RouteItem
        {
            public string router { get; set; }
            public string name { get; set; }
            public int id { get; set; }
            public Meta meta { get; set; }
            public string authority { get; set; }
            public List<RouteItem> children { get; set; }
        }

        public class Meta
        {
            public string highlight { get; set; }
            public bool invisible { get; set; }

        }
        public class Item
        {
            public string router { get; set; }
            public string name { get; set; }
            public authority authority { get; set; }
            public string icon { get; set; }
            public string path { get; set; }
        }

        public class authority
        {
            public string permission { get; set; }
            public string role { get; set; }
        }

    }
}